#include <iostream>
#include <vector>
using namespace std;

void test()
{
    vector<int> v1(10,0);
    vector<int>::iterator it1 = v1.begin();
    
    while(it1 != v1.end())
    {
        cout << *it1 << " ";
        it1++;
    }

    cout << endl;

    for(int i = 0; i < v1.size(); i++)
    {
        cout << v1[i] << " ";
    }

    cout << endl;

    for(auto e : v1)
    {
        cout << e << " ";
    }

    cout << endl;
}


int main()
{
    test();

    return 0;
}


